#pragma once
class CPlaylist
{
	enum PlayType{BY_ORDER};
	PlayType m_PlayType;

	CArray <CString> m_FileList;

public:
	CPlaylist(void);
	~CPlaylist(void);

	int m_CurFileNum;
	int m_FilesNum;

	void AddToPlaylist(CString FileName);
	void DeletePlaylist(void);
	
	int RemoveFile(int FileNum);

	CString SetPlayFile(int FileNum);
	CString GetNextFile(void);
	CString GetPreviousFile(void);
};

